//
//  Context.cpp
//  Strategy
//
//  Created by Shane on 17/9/15.
//  Copyright © 2017年 Shane. All rights reserved.
//

#include "Context.h"
#include "Strategy.h"

Context::Context(Strategy *pStrategy){
    m_pStrategy = pStrategy;
}

Context::~Context(){
    if (m_pStrategy) {
        delete m_pStrategy;
    }
}

void Context::ContextInterface(){
    m_pStrategy->AlgorithmInterface();
}


